package com.qzsf.backend.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.Year;

/*
 * @Author: Dennis Chen
 * @CreateTime: 2024/10/31 15:14 周四
 * @Email 1429278462@qq.com
 * @Remark 用户详细信息dto
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDetailDTO {
    private int id;
    private String username;
    private String password;
    private int status;
    private String name;
    private String pic;
    private String sex;
    private String phone;
    private String email;
    private String address;
    private String studentId;
    private Year enrollmentYear;
    private String faculty;

    public UserDetailDTO(int id, int status, String name, String pic, String sex, String phone, String email, String address, String studentId, Year enrollmentYear, String faculty) {
        this.id = id;
        this.status = status;
        this.name = name;
        this.pic = pic;
        this.sex = sex;
        this.phone = phone;
        this.email = email;
        this.address = address;
        this.studentId = studentId;
        this.enrollmentYear = enrollmentYear;
        this.faculty = faculty;
    }
}
